package com.ticket.sass.admin.dto.input.pricescheme;

import com.ticket.sass.admin.dto.input.PageInput;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author ywb
 * @date 2024-03-12 16:45
 */

@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
public class PriceSchemeListInput extends PageInput {
    @ApiModelProperty(value = "方案名称")
    private String title;
    
    @ApiModelProperty(value = "启用状态")
    private Boolean enable;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "有效日期开始")
    private LocalDate startDate;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "有效日期结束")
    private LocalDate endDate;
    
    @ApiModelProperty(value = "生效类型：0 不限 1 指定")
    private Short activateType;
    
    @ApiModelProperty(value = "发行价")
    private String issuePrices;
//
//    @ApiModelProperty(value = "影片ID")
//    private Long[] filmIds;
}
